{extend name="public/base"}
{block name='main'}
<!-- 广告 -->
<div class="layui-container mb20">
  <div class="banner-wrap"><!--矩形广告位-->
  </div>
</div>
<!-- 广告 end-->
<!-- 主体开始 -->
<div class="fly-main mtop20" style="overflow: hidden;">
  <div class="fly-panel fly-rank fly-rank-reply" >
    <ul class="fly-list">
      <li style="border: 0px!important;">
        <a class="fly-avatar"> <img src="{:upload_url($zjinfo.img,'album')}" class="zjimg"> </a>
        <h2 class="mleft150"><a href="detail.html">{$zjinfo.title}</a> </h2>
        <div class="fly-list-info mleft150">
          <span>{$zjinfo.intro}</span>
        </div>
        <div class="fly-list-badge"> <span class="layui-badge layui-bg-black">{$zjinfo.id|doccount}个文档</span>
        </div>
      </li>
    </ul>
  </div>


  <!-- 最新文档开始 -->
  <div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
      <li class="layui-this"><a href="" class="font16">专辑文档列表</a></li>
    </ul>
  </div>
  {empty name="zjdoc"}
    <div class="fly-none">没有相关数据</div>
  {/empty}
  <ul class="fly-case-list">
    {volist name="zjdoc" id="vo" }
      <li data-id="123">
        <a class="fly-case-img" href="{:url('doc/doccon',array('id'=>$vo['id']))}" target="_blank">
          <img src="{:docfile($vo.html,$vo.imgurl)}"/>
          <cite class="layui-btn layui-btn-primary layui-btn-small">查看</cite> </a>
        <h3><i class="ic ic-doc"></i><a href="{:url('doc/doccon',array('id'=>$vo['id']))}" target="_blank">{$vo.title}</a></h3>
        <div class="fly-case-info">
          <p class="layui-elip" style="font-size: 12px;"><span style="color: #666;">{$vo.create_time|fdate}</span> <span style="float: right;"><i class="iconfont xico" title="人气">&#xe60b;</i>{$vo.hits}</span></p>
        </div>
      </li>
    {/volist}

  </ul>
  <!-- 最新文档结束 -->
  <div style="text-align: center">
    <div class="laypage-main">
      {$page|raw}
    </div>
  </div>
  {include file="public/flink" }
</div>
<script>
  layui.cache.page = 'user';
  layui.config({
    base: '__PUBLIC__/theme/blueideal/mods/' //这里实际使用时，建议改成绝对路径
  }).extend({
    fly: 'index'
  }).use('fly');
</script>
<!-- 主体结束 -->
{/block}